package com.atguigu.guli.ai.strategy;

import com.atguigu.guli.ai.vo.QueryVo;
import com.atguigu.system.domain.ChatKnowledge;
import org.springframework.ai.chat.messages.Message;
import org.springframework.ai.document.Document;
import reactor.core.publisher.Flux;

import java.util.List;

public interface AiOperator {

    void addDosc(ChatKnowledge chatKnowledge);

    List<Document> similaritySearch(QueryVo queryVo);

    Flux<String> chat_stream(List<Message> msgs);

}
